package com.shanzmoo.platform.tomerchant.api.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 菜单保存对象
 * @author: Gzhao 2020/11/10
 */
@Data
@Accessors(chain = true)
@ApiModel("人员菜单列表")
public class MenuAuthVO {

    @ApiModelProperty("菜单ID")
    private Integer menuId;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("是否隐藏菜单")
    private Boolean hidden;

    @ApiModelProperty("前端路由地址")
    private String routerUrl;

    @ApiModelProperty("前端组件路径")
    private String componentPath;

    @ApiModelProperty("权限标识")
    private String perms;

    @ApiModelProperty("排序号")
    private Integer menuIndex;

    @ApiModelProperty("子菜单")
    private List<MenuAuthVO> children;

}
